package cn.imnaer.service.persistence.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 部落圈内容
 * Created by Administrator on 2015/7/28.
 */
public class TribalCircle implements Serializable {
    private String tribalCircleId;
    /**
     * @see cn.imnaer.service.rpc.enums.EnumFriendCircleType
     */
    private String tribalCircleType;
    private String tribalId;
    private String itemId;
    private String title;
    private Long createTime;
    /**
     * 封面
     */
    private String image;
    /**
     * 是否是精品
     */
    private Boolean isStar = false;
    /**
     * 是否允许添加
     */
    private Boolean isAdditions = true;

    private String userId;
    private String userName;

    private List<PlaceInfo> places = new ArrayList<>();

    public String getTribalCircleId() {
        return tribalCircleId;
    }

    public void setTribalCircleId(String tribalCircleId) {
        this.tribalCircleId = tribalCircleId;
    }

    public String getTribalCircleType() {
        return tribalCircleType;
    }

    public void setTribalCircleType(String tribalCircleType) {
        this.tribalCircleType = tribalCircleType;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Boolean getIsStar() {
        return isStar;
    }

    public void setIsStar(Boolean isStar) {
        this.isStar = isStar;
    }

    public Boolean getIsAdditions() {
        return isAdditions;
    }

    public void setIsAdditions(Boolean isAdditions) {
        this.isAdditions = isAdditions;
    }


    public String getTribalId() {
        return tribalId;
    }

    public void setTribalId(String tribalId) {
        this.tribalId = tribalId;
    }

    public List<PlaceInfo> getPlaces() {
        return places;
    }

    public void setPlaces(List<PlaceInfo> places) {
        this.places = places;
    }

    public void addPlace(PlaceInfo place) {
        this.places.add(place);
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

}
